package com.mindmax.wordmemory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单词库对象 vocabulary_bank
 * 
 * @author ruoyi
 * @date 2024-04-03
 */
public class VocabularyBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 词库名称 */
    @Excel(name = "词库名称")
    private String name;

    /** 词库名称（英文） */
    @Excel(name = "词库名称", readConverterExp = "英=文")
    private String enName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 语言对 */
    @Excel(name = "语言对")
    private String languagePair;

    /** 词库封面 */
    @Excel(name = "词库封面")
    private String coverageImg;

    /** 词库状态： 0-未启用 1-已启用 */
    @Excel(name = "词库状态： 0-未启用 1-已启用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setEnName(String enName) 
    {
        this.enName = enName;
    }

    public String getEnName() 
    {
        return enName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setLanguagePair(String languagePair) 
    {
        this.languagePair = languagePair;
    }

    public String getLanguagePair() 
    {
        return languagePair;
    }
    public void setCoverageImg(String coverageImg) 
    {
        this.coverageImg = coverageImg;
    }

    public String getCoverageImg() 
    {
        return coverageImg;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("enName", getEnName())
            .append("description", getDescription())
            .append("languagePair", getLanguagePair())
            .append("coverageImg", getCoverageImg())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
